package com.lemon.admin.service;

import com.lemon.admin.bean.Account;
import com.lemon.admin.mapper.AccountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountService {
    @Autowired
    AccountMapper accountMapper;
    public Account getbyHost(String host){
        return accountMapper.getAcc(host);
    }
}
